# -*- coding:utf-8 -*-

__author__ = 'chendaqing'

"""
我的账户模块
"""

from flask import Blueprint, render_template, session, redirect, \
    url_for, request, flash, g, jsonify, abort
from mark.helpers import request_wants_json, get_city

account = Blueprint("account", __name__)


@account.route("/")
def account_orders():
    # 显示用户的（默认）订单【订单状态：未使用，已过期、已退款，待评价，
    # 未付款，即将到期】
    pass


@account.route('/coupons')
def my_coupons():
    # 我的超市券
    pass
    
@account.route('/invites')
def account_invites():    
    #邀请连接
    pass
    
@account.route('/points')
def account_points():
    #积分
    pass

@account.route('/settings', methods=['GET', 'POST'])
def account_setting():
    #账户设置
    pass

@account.route('/referrals')
def account_referrals():
    #用户返利的链接
    pass
    

@account.route('/login', methods=['GET', 'POST'])
def login():
    #登录
    pass
    
@account.route('/logout')
def logout():
    #退出
    pass    
    
@account.route('/register', methods=['GET','POST'])
def register():
    # 注册
    pass